home *** CD-ROM | disk | FTP | other *** search
-
- ñ5. Installation
-
-
- The Concurrent Clean System version 1.2 for the Macintosh runs on any
-
- Mac with system 6.0 (or higher). Generated distributed Clean applications
-
- need system 7.0 (or higher). The Clean application needs at least 1.2
-
- megabytes, but 2.0 megabytes of free memory is recommended. For
-
- sub-launching at least another 700 K is needed. So, in total we recommend
-
- about 3 Mb of free memory for the use of the Concurrent Clean System.
-
-
- The proper installation of the Concurrent Clean System, including all
-
- libraries, example programs and documentation requires 7 Mb of free
-
- hard disk space. When you don't have that much space left on your hard
-
- disk leave out (some of) the example programs.
-
-
-
-
-
-
- Files which are part of the 1.2 distribution on the Mac.
-
-
- The Concurrent Clean version 1.2 distribution consists of the following
-
- files and folders:
-
-
-
- • Clean 1.2 (68k)
-
-
- The Concurrent Clean Programming Development System for Mac 68k.
-
- This application can also be used on Power Macintoshes to generate 68k
-
- applications.
-
-
- • Installation
-
-
- A folder containing a ReadMe file and a special Clean module Install.icl that
-
- forces the compilation of all I/O libraries of Concurrent Clean.
-
-
- • Clean Help
-
-
- The help file you are reading now that is used by the Concurrent Clean
-
- System.
-
-
- • StdEnv
-
-
- A folder containing the arithmetic libraries needed to create applications.
-
- This folder contains the .dcl and .icl files (see Files) of all predefined
-
- functions for arithmetic (see the Concurrent Clean Reference Manual).
-
-
- It furthermore contains the modules
-
-
- _library
-
- _startup,
-
- _system,
-
- _SystemArray
-
- _SystemEnum
-
-
- used by the compiler or needed for the run-time support of the generated
-
- Clean applications.
-
-
- The .abc and .obj files generated from these modules have been put in a
-
- subfolder called Clean System Files (see below). Never throw away the
-
- .abc or .obj files present in this folder, because not all these files can be
-
- regenerated by the Concurrent Clean System.
-
-
- • IOInterface
-
-
- A folder containing the I/O library that provides the compact and elegant
-
- specification of I/O including features such as menus, dialogues, windows
-
- and mouse handling (see the Clean 1.2 Reference Manual).
-
-
- The general rule is that modules that begin with 'Std' contain library
-
- functions to be used by Clean programmers and that all other modules
-
- contain low-level support functions for internal use.
-
-
- • MacInterface
-
-
- A folder containing the functions that realize the interface with the
-
- Macintosh toolbox. The functions defined in this folder are used by the IO
-
- library and should not be addressed directly by the programmer.
-
-
- • Small Demos
-
-
- This folder contains a number of very tiny Clean programs.
-
-
- • IO Demos
-
-
- This folder contains a few more elaborate example programs consisting of
-
- more than one module to show what kind of interactive applications can be
-
- written in Clean.
-
-
- • Preferences
-
-
- A folder Preferences in your System Folder (when this folder does not
-
- yet exist) in which the preference file "Clean Prefs" is created.
-
-
- • Clean System Files
-
-
- Such a folder will be created inside the folder where your Clean
-
- implementation or definition modules reside. In this folder all intermediate
-
- files are stored generated by the system during compilations.
-
-
-
- Installing the Clean system
-
-
- Make a back-up of your old Clean programs, Clean system and I/O
-
- libraries. An old preference file will be removed automatically when you
-
- start the Clean application.
-
-
- Put the Clean 1.2 application, the Installation folder, the StdEnv folder,
-
- the IOLibrary folder, the MacInterface folder, and the Clean Help file in
-
- one folder on your Mac. Put the example programs in any folder you like.
-
- Put related Clean programs (a Clean project) in one folder. The Clean 1.2
-
- Ref Man folder put anywhere you like.
-
-
- Clean 1.2 by default is set to require 2000 K. If your Mac has not enough
-
- memory available, set this number lower (use Get Info) before you start
-
- the application. You can try 1200 K for small examples, but 2000 K or
-
- more is more likely to be needed when you are developing larger
-
- applications. The linking phase requires a lot of memory, especially when
-
- the I/O libraries have to be linked with a project. When the linker cannot
-
- allocate the memory it needs inside the Clean 1.2 application it tries to
-
- allocate free memory outside the application. When the memory of the
-
- Clean 1.2 application is set to 2000K and the I/O libraries should be linked
-
- to a project the linker needs about 700K of free memory outside the Clean
-
- 1.2 application. The compilation of large applications requires a lot of
-
- memory (in general 3 Mb will be enough).
-
-
- The Concurrent Clean System generates Mac applications. If you have
-
- Virus detectors they may complain about this. Clear the protection for the
-
- Clean 1.2 application. The Clean 1.2 application should be allowed to
-
- create, edit and delete other files (but not system files). Make sure that
-
- you have an original unaffected Nijmegen version of the Clean System
-
- (see availability).
-
-
- Make sure that the following path names are set in the default paths
-
- (choose Paths... in the Options menu) such that at least the following
-
- standard Clean libraries can be found (assuming that the Clean 1.2
-
- application and the libraries are put into one folder):
-
-
- {Application}:StdEnv:
-
- {Application}:IOLibrary:
-
- {Application}:MacInterface:
-
-
- Pathnames that are printed in italics do not lead to the indicated libraries.
-
- Remove these paths and add the missing libraries.
-
-
- It is possible that you have received a version of the Clean System in
-
- which the .obj and/or .abc files of the I/O and arithmetic libraries are not
-
- present, for example to save disk space and/or copying time. Compilation
-
- of a program using the I/O libraries may take a considerable amount of
-
- time (up to 40 minutes on a Mac Plus) then, because code has to be
-
- generated for all modules of these libraries. Fortunately this has to be
-
- done only once, so the next time compilation will be much faster. To
-
- completely compile the libraries the memory of the Clean 1.2 application
-
- should be set to at least 2 Mb. The program Install.icl (folder Installation)
-
- imports all libraries and therefore forces the compilation of these
-
- libraries when it is compiled by the Clean system. So, to compile all
-
- libraries once and for all open Install.icl and choose Bring Up To Date of
-
- the Commands menu. The Clean System Files folder and the application
-
- Install that will be generated inside the Installation folder can be thrown
-
- away afterwards.
-
-
- We have used the following convention when a Clean project consists of
-
- more than one Clean module. The main module has been coloured red, the
-
- other modules green (.icl files) and brown (.dcl files). If your Mac does
-
- not display colours, the main module can always be recognized by the fact
-
- that it has no corresponding definition module (.dcl file).
-
-
-
-